home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 4 / Amiga Tools 4.iso / tools / netzwerk / tcp-ip / usno / docs / timeset.man < prev    next >
Encoding:
Text File  |  1996-02-26  |  1.5 KB  |  67 lines

  1.  
  2.  
  3.  
  4.  time_set(1)                                                     time_set(1)
  5.                                     local
  6.  
  7.  
  8.  
  9.  NAME
  10.       time_set - set local system time to time server host system time
  11.  
  12.  SYNOPSIS
  13.       time_set <hostname>
  14.  
  15.  DESCRIPTION
  16.       Time_set communicates with an Internet time server host using BSD
  17.       Internet Stream Sockets.  It obtains the current system time of the
  18.       server's system clock time as a long int in units of seconds since the
  19.       Epoch (end of 1969). Normally the time server is a system that
  20.       sychronizes to Master Clock time.
  21.  
  22.       time_set is designed to be used with timesrv, the host time server's
  23.       program spawned by inetd.  Before setting your system clock with
  24.       time_set you should kill /etc/cron, and you should restart it after
  25.       setting local system time.   The shell script TIME_SET automates this
  26.       process and can be safely run from a cronfile.
  27.  
  28.       time_set requires the following entry in /etc/services:
  29.  
  30.       timesrv   22375/tcp
  31.  
  32.       and the following entry in /etc/inetd.conf:
  33.  
  34.       timesrv stream tcp  nowait  root /usr/local/bin/timesrv timesrv
  35.  
  36.       Inetd must be restarted with the command: /etc/inetd -c
  37.  
  38.  EXAMPLE
  39.            # synchronize your system clock with time server "tycho"
  40.            time_set tycho
  41.  
  42.  
  43.  AUTHOR
  44.       time_set written by Rich Schmidt, US Naval Observatory, 1992.
  45.  
  46.  
  47.  SEE ALSO
  48.       timesrv(1), time_set(1), time(2), stime(2).
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                     - 1 -          Formatted:  June 12, 1992
  64.  
  65.  
  66.  
  67.